import React, {Component} from 'react';
import { Row, Col } from 'antd';
import Footer from './public/Footer.jsx';
import Header from './public/Header.jsx';
class Main extends Component {
    render() {
        return (
            <div>
                <Row>
                    <Col  span={12} offset={6} type="flex" justify="center">
                        <Header/>

                        {this.props.children}

                    </Col>
                </Row>
            </div>
        );
    }
}

export default Main;